package com.loong.service.impl;

import com.loong.mapper.TypeMapper;
import com.loong.mapper.impl.TypeMapperImpl;
import com.loong.pojo.Type;
import com.loong.service.TypeService;

import java.util.List;

public class TypeServiceImpl implements TypeService {
    @Override
    public List<Type> findAll() {
        TypeMapper mapper = new TypeMapperImpl();
        return mapper.selectAll();
    }

}
